package cn.iocoder.yudao.module.trade.controller.admin.storeusers.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 店铺账号 Response VO")
@Data
@ExcelIgnoreUnannotated
public class StoreUsersRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "28773")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "店铺ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "16212")
    @ExcelProperty("店铺ID")
    private Long storeId;

    @Schema(description = "店铺名称", example = "店铺A")
    @ExcelProperty("店铺名称")
    private String storeName;

    @Schema(description = "登录账号", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("登录账号")
    private String username;

    @Schema(description = "密码")
    @ExcelProperty("密码")
    private String password;

    @Schema(description = "员工姓名", example = "张三")
    @ExcelProperty("员工姓名")
    private String nickname;

    @Schema(description = "手机号")
    @ExcelProperty("手机号")
    private String mobile;

    @Schema(description = "角色(1:店长;2:店员)", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("角色(1:店长;2:店员)")
    private Integer role;

    @Schema(description = "状态(0:已禁用;1:已启用)", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("状态(0:已禁用;1:已启用)")
    private Boolean status;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}